<?php
/**
 * Base Database Config.
 *
 * See the individual environment DB configs for specific config information.
 */

return array(
	'active' => 'home',

	/**
	 * Base config, just need to set the DSN, username and password in env. config.
	 */
 	 	 'home' => array(
    'type'           => 'mysqli',
    'connection'     => array(
        'hostname'       => '127.0.0.1',
        'port'           => '3306',
        'database'       => 'ojt_apicomm',
        'username'       => 'root',
        'password'       => '',
        'persistent'     => false,
    ),
    'table_prefix'   => '',
    'charset'        => 'utf8',
    'caching'        => false,
    'profiling'      => false,
),'development' => array(
    'type'           => 'mysqli',
    'connection'     => array(
        'hostname'       => 'mes-server',
        'port'           => '3307',
        'database'       => 'ojt_apicomm',
        'username'       => 'ojtx',
        'password'       => 'nGwwJ2WWJURssSEF',
        'persistent'     => false,
    ),
    'table_prefix'   => '',
    'charset'        => 'utf8',
    'caching'        => false,
    'profiling'      => false,
),
'default' => array(
		'type'        => 'pdo',
		'connection'  => array(
			'persistent' => false,
		),
		'identifier'   => '`',
		'table_prefix' => '',
		'charset'      => 'utf8',
		'caching'      => false,
		'profiling'    => false,
	),

	'redis' => array(
		'default' => array(
			'hostname'  => '127.0.0.1',
			'port'      => '3306', 
			'username'   => 'root',
		)
	),

);
